package com.sinosoft.emplmis.labor.entity;

import java.util.Date;

import com.sinosoft.framework.core.common.utils.ObjectUtil;

public class JobInfoEntity {
    private String jobinfoId;

    private String name;
    
    private String idcard;
    
    private String sex;
    
    private String education;
    
    private String phone;
    
    private String personinfoId;

    private String status;

    private String company;

    private String losetouch;

    private String losetouchdate;

    private String recentdate;

    private String street;

    private String community;

    private String remark;

    private String inputStaffcode;

    private Date inputTime;

    private String inputDepartmentcode;

    private String modifyStaffcode;

    private Date modifyTreatment;

    public String getJobinfoId() {
        return jobinfoId;
    }

    public void setJobinfoId(String jobinfoId) {
        this.jobinfoId = jobinfoId == null ? null : jobinfoId.trim();
    }

    public String getPersoninfoId() {
        return personinfoId;
    }

    public void setPersoninfoId(String personinfoId) {
        this.personinfoId = personinfoId == null ? null : personinfoId.trim();
    }

    
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public String getLosetouch() {
        return losetouch;
    }

    public void setLosetouch(String losetouch) {
        this.losetouch = losetouch == null ? null : losetouch.trim();
    }

    public String getLosetouchdate() {
		return losetouchdate;
	}

	public void setLosetouchdate(String losetouchdate) {
		this.losetouchdate = losetouchdate;
	}

	public String getRecentdate() {
		return recentdate;
	}

	public void setRecentdate(String recentdate) {
		this.recentdate = recentdate;
	}

	public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street == null ? null : street.trim();
    }

    public String getCommunity() {
        return community;
    }

    public void setCommunity(String community) {
        this.community = community == null ? null : community.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getInputStaffcode() {
        return inputStaffcode;
    }

    public void setInputStaffcode(String inputStaffcode) {
        this.inputStaffcode = inputStaffcode == null ? null : inputStaffcode.trim();
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public String getInputDepartmentcode() {
        return inputDepartmentcode;
    }

    public void setInputDepartmentcode(String inputDepartmentcode) {
        this.inputDepartmentcode = inputDepartmentcode == null ? null : inputDepartmentcode.trim();
    }

    public String getModifyStaffcode() {
        return modifyStaffcode;
    }

    public void setModifyStaffcode(String modifyStaffcode) {
        this.modifyStaffcode = modifyStaffcode == null ? null : modifyStaffcode.trim();
    }

    public Date getModifyTreatment() {
        return modifyTreatment;
    }

    public void setModifyTreatment(Date modifyTreatment) {
        this.modifyTreatment = modifyTreatment;
    }

	/**
     * dto对象转换为entity
     * @param entity 供精人员信息实体类
     * @param from 供精人员信息dto对象
     */
    public void toEntityData(JobInfoEntity entity,Object from,String... args)
    {
    	try {
			ObjectUtil.oldToNew(entity, from, args);
		} catch (Exception e) {
			e.printStackTrace();
		}
    }
}